package com.hmall.config;

import com.hmall.intercepter.MyFeignInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author liCuiPing
 * @since 2022/12/11 15:33
 */
@Configuration
public class FeignConfig {
    @Bean
    public MyFeignInterceptor myFeignInterceptor(){
        return new MyFeignInterceptor();
    }
}